interface Testcase {
  title: string
  content: string
  options?: any
}

const testcase: Testcase[] = [
  {
    title: "Test Normal",
    content: "c = \\pm\\sqrt{a^2 + b^2}"
  },
  {
    title: "Test Throw Error",
    content: "c = \\imerror",
    options: {
      throwOnError: false
    }
  },
  {
    title: "Test leqno",
    content: "c = \\pm\\sqrt{a^2 + b^2}",
    options: {
      leqno: true
    }
  },
  {
    title: "Test fleqn",
    content: "c = \\pm\\sqrt{a^2 + b^2}",
    options: {
      fleqn: true
    }
  },
  {
    title: "Test Macros",
    content: "\\f\\relax{x} = \\int_{-\\infty}^\\infty \\f\\hat\\xi\\,e^{2 \\pi i \\xi x} \\,d\\xi",
    options: {
      macros: {
        "\\f": "#1f(#2)"
      }
    }
  },
  {
    title: "Test trust",
    content: "\\url{www.example.com}",
    options: {
      trust: true
    }
  },
]

export { Testcase, testcase }